﻿using System;
using System.Collections.Generic;
using System.Text;
using T.FAS.Runtime.UserProfile.Entity;

namespace T.FAS.Runtime.UserProfile.SGSPI
{
    public interface IUserProfileService
    {
        /// <summary>
        /// 新增或修改
        /// </summary>
        Dictionary<string, string> CreateOrUpdateUserProfile(UserProfiles profile);
        /// <summary>
        /// 删除
        /// </summary>
        Dictionary<string, string> DeleteUserProfile(string id);
        /// <summary>
        /// 根据配置项获取配置
        /// </summary>
        List<UserProfiles> GetUserProfiles(string profileGroupID);
        /// <summary>
        /// 获取配置
        /// </summary>
        UserProfiles GetUserProfile(string profileItemID);
    }
}
